package com.wardrobe.smartWardrobe.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author tky
 * @since 2024-03-24
 */
public class Audit implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private String name;

    private String displayMno;

    private String address;

    /**
     * x，y表示坐标
     */
    private Double x;

    private Double y;

    private String description;

    /**
     * 审核材料
     */
    private String materialMno;

    /**
     * 审核状态：002000表示待审核 002001表示审核通过，002003表示审核未通过
     */
    private String auditStatus;

    /**
     * 审核信息
     */
    private String msg;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDisplayMno() {
        return displayMno;
    }

    public void setDisplayMno(String displayMno) {
        this.displayMno = displayMno;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getX() {
        return x;
    }

    public void setX(Double x) {
        this.x = x;
    }

    public Double getY() {
        return y;
    }

    public void setY(Double y) {
        this.y = y;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getMaterialMno() {
        return materialMno;
    }

    public void setMaterialMno(String materialMno) {
        this.materialMno = materialMno;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Audit{" +
        "id=" + id +
        ", userId=" + userId +
        ", name=" + name +
        ", displayMno=" + displayMno +
        ", address=" + address +
        ", x=" + x +
        ", y=" + y +
        ", description=" + description +
        ", materialMno=" + materialMno +
        ", auditStatus=" + auditStatus +
        ", msg=" + msg +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
